arm: allocate per-PCPU domheap pagetable pages
authorIan Campbell <ian.campbell@citrix.com>
Wed, 24 Apr 2013 10:54:01 +0000 (11:54 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 24 Apr 2013 15:55:16 +0000 (16:55 +0100)
commit85ef8aebdecad8e5d211bb012595d5a89b172585
treec3219234454c0c2ac5537927412c92dad3218025
parent865aa5dbe739a36af7b543fbe332cb94fc57343b
arm: allocate per-PCPU domheap pagetable pages

the domheap mappings are supposed to be per-PCPU. Therefore xen_pgtable
becomes a per-PCPU variable and we allocate and setup the page tables for each
secondary PCPU just before we tell it to come up.

Each secondary PCPU starts out on the boot page table but switches to its own
page tables ASAP.

The boot PCPU uses the boot pagetables as its own.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: TIm Deegan <tim@xen.org>
xen/arch/arm/mm.c
xen/arch/arm/smpboot.c
xen/include/asm-arm/config.h
xen/include/asm-arm/mm.h